import 'package:flutter/cupertino.dart';
import 'package:study_flutter/wyfg/project/PConstant.dart';
import 'WyfgHomePage.dart';

class WConstant{


  /*创建路由表*/
  static Map<String, WidgetBuilder> getWyfgRoutes(BuildContext context) {
    var routesMap = new Map<String, WidgetBuilder>();
    routesMap[WYFG_HOME_PAGE] = (context) => WyfgHomeRoute();
    routesMap.addAll(PConstan.getPRpute(context));
    return routesMap;
  }

  /*设置路由跳转常量*/
  static String WYFG_HOME_PAGE = "wyfg_page";
}